package com.jdz.pojo;

import java.util.Date;

public class Announcemen {
    private Integer annno;

    private String annid;

    private String anndetail;

    private Integer userno;

    private Date creattime;

    private String attachmentname;

    private String attachmenturl;

    private Integer top;

    public Announcemen(Integer annno,String annid, String anndetail, Integer userno,  Date creattime, String attachmentname, String attachmenturl, Integer top) {
        this.annno = annno;
        this.annid = annid;
        this.anndetail = anndetail;
        this.userno = userno;
        this.creattime = creattime;
        this.attachmentname = attachmentname;
        this.attachmenturl = attachmenturl;
        this.top = top;
    }

    public Announcemen() {
        super();
    }

    public Integer getAnnno() {
        return annno;
    }

    public void setAnnno(Integer annno) {
        this.annno = annno;
    }

    public String getAnnid() {
        return annid;
    }

    public void setAnnid(String annid) {
        this.annid = annid == null ? null : annid.trim();
    }

    public String getAnndetail() {
        return anndetail;
    }

    public void setAnndetail(String anndetail) {
        this.anndetail = anndetail == null ? null : anndetail.trim();
    }

    public Integer getUserno() {
        return userno;
    }

    public void setUserno(Integer userno) {
        this.userno = userno;
    }

    public Date getCreattime() {
        return creattime;
    }

    public void setCreattime(Date creattime) {
        this.creattime = creattime;
    }

    public String getattachmentname() {
        return 
attachmentname;
    }

    public void setattachmentname(String
attachmentname) {
        this.
attachmentname = 
attachmentname == null ? null : 
attachmentname.trim();
    }

    public String getattachmenturl() {
        return 
attachmenturl;
    }

    public void setattachmenturl(String
attachmenturl) {
        this.
attachmenturl = 
attachmenturl == null ? null : 
attachmenturl.trim();
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }
}